#ifndef BRANCHPARAMDIALOG_H
#define BRANCHPARAMDIALOG_H

#include <QDialog>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QDialogButtonBox>
#include <QtGui/QGroupBox>
#include <QtGui/QVBoxLayout>
#include <QtGui/QCheckBox>

class Branch;

class BranchParamDialog : public QDialog
{
    Q_OBJECT

    QDialogButtonBox *buttonBox;
    QGroupBox * groupBox;
    QWidget * wgtLineEdits;
    QVBoxLayout * vlayLineEdits;
    QLineEdit * ledVbegin;
    QLineEdit * ledVend;
    //QLineEdit * ledState;
    QCheckBox * cbState;
    QLineEdit * ledR;
    QLineEdit * ledX;
    QLineEdit * ledYc;
    QLineEdit * ledKt;
    QLineEdit * ledImax;
    QWidget * wgtLabels;
    QVBoxLayout * vlayLabels;
    QLabel *lbl1;
    QLabel *lbl2;
    QLabel *lbl3;
    QLabel *lbl4;
    QLabel *lbl5;
    QLabel *lbl6;
    QLabel *lbl7;
    QLabel *lbl8;
    QLabel *lbl9;

    QCheckBox * chbAutoColor;

    Branch * branch;
    
public:
    explicit BranchParamDialog( Branch * b = 0, QWidget *parent = 0 );
    int Exec();
    
private:
    void fillControls();
};

#endif // BRANCHPARAMDIALOG_H
